package com.quwancode.springbootmysql.common.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 错误编码
 *
 * @author chuck chuck.pg@outlook.com
*/
@Getter
@AllArgsConstructor
public enum ErrorCode {
    // 服务器异常
    INTERNAL_SERVER_ERROR(500, "服务器异常，请稍后再试");

    private final int code;
    private final String msg;
}
